<?php

$xmlSections = null; 

$currentLanguage = "en";

if(@$_GET["language"]){
	
	$currentLanguage = $_GET["language"];
	
	$xmlSections = getXMLSections($currentLanguage);
}

addContent("<div id=\"xmltagtree\" style=\"float:left;overflow:scroll;width:70%;height:100%;\"><table>");

foreach($xmlSections as $value){
	
	addContent("<tr><td valign=\"top\"><a href=\"javascript:void(0)\" onclick=\"onclickPlusDir(this,'','".$value["x_section"]."','".$currentLanguage."')\" style=\"text-decoration:none;\">+</a></td><td><a href=\"javascript:void(0)\" style=\"text-decoration:none;\" onclick=\"onclick_selectxmlfileexport(this,'".$currentLanguage."')\" onmouseover=\"onmouseoverXMLTags(this)\" onmouseout=\"onmouseoutXMLTags(this)\">".$value["x_section"]."</a><div></div></td></tr>");
}

addContent("</table></div>");

addContent("<div id=\"xmlcontrolpanel\" style=\"float:right;width:30%;height:100%;\">");

addContent("</div></div>");


?>